/*
*
* */
Rsd.define('Rsd.Faith.templates.JiaoCunFaPiao', {
    extend: 'Rsd.control.PrintArea',
    requires: [  'Rsd.control.Button'],
    xtype: 'tpl-huidan',
    width: '100%',
    height: 300,
    size: {width: 130, height: 100},
    scale:1.4,
    printBorder:false,
    tableBorder:false,
    rows: [
        {
            items: [
                {
                    height:8,
                    colSpan: 16,
                    text: '住宅专项维修资金专用收据(业主使用)',
                    align: 'center',
                    print: false,
                    border:false,
                    style: {fontSize: '130%',fontWeight:'bold'}
                }
            ]
        },
        {
            items: [
                {text: '苏财  321100',colSpan: 3, align: 'left', print: false, height: 4, border:false},
                { dataIndex: 'NIAN',align: 'right', border:false},
                { text: '年', print:false,align: 'right', border:false},
                { dataIndex: 'YUE',align: 'right', border:false},
                { text: '月', print:false,align: 'center', border:false},
                { dataIndex: 'RI',border:false},
                { text: '日', print:false,align: 'left', border:false},
                {border:false},
                {text:'[发票编号]', border:false}
            ]
        },
        {
            items: [
                {text: '业主姓名', align: 'center', print: false, width:14,height: 4},
                {colSpan: 7, align: 'center', dataIndex: 'YZXM'},
                {colSpan: 2,text: '住宅建筑面积', print: false, align: 'center', width:20},
                {colSpan: 5,  align: 'center',dataIndex: 'JZMJ', border:{right:false}},
                {width:6,print:false,align: 'center',text: 'm²',border:{left:false}}
            ]
        },
        {
            items:[
                {text: '住宅地址',align: 'center', print: false, height: 4},
                {colSpan: 9, align: 'center',dataIndex: 'ZZDZ', border:{right:false}},
                {colSpan:2,width:4,text: '电话:', align: 'right', print: false,border:false},
                {colSpan:4, align: 'center',dataIndex: 'DH',border:{left:false}}
            ]
        },

        {
            items:[
                {text: '交存计算', print: false, rowSpan:3,align: 'center'},

                {colSpan: 7,height: 4,text:'商 品 住 宅 □', print: false, align: 'center'},
                {colSpan: 8,height: 4,text:'已 售 公 房 □', print: false, align: 'center', }
            ]
        },
        {
            items: [
                {width:16,height: 4, colSpan: 2, text: '住宅建筑面积(', print: false, align: 'left',border:false},
                {colSpan: 1,dataIndex:'SPFJZMJ',width:4,align: 'center',border:false},
                {colSpan: 4, text: 'm²) × 当地住宅建筑安装', print: false, align: 'left',border:{left:false,bottom:false}},

                {colSpan: 2,width:10, text:'住宅建筑面积', print: false,align: 'left',border:false},
                {colSpan: 1,width:1, text:'(', print: false,align: 'left',border:false},
                {dataIndex:'GFFJZMJ',width:8,align: 'center',border:false},
                {colSpan: 1,text:'m²)', print: false,align: 'left',border:false},
                {colSpan: 4, text:'× 当地房改成本价',print: false, align: 'left',border:{left:false,bottom:false}}

            ]
        },
        {
            items:[
                { colSpan: 1, width:12, height: 4 ,text: '工程造价(', align: 'left',  print: false,border:false},
                {colSpan: 1,width:6, dataIndex:'SPFBZ',align: 'center',border:false},
                {colSpan: 3,text:'元/m²) × 交存比例(',print: false, align: 'left',border:false},
                {dataIndex:'SPFBL',width:4,align: 'center',border:false},
                {colSpan: 1, width:2,text:'%)', print: false,align: 'right',border:{left:false,top:false}},

                {width:1,colSpan: 1, text:'(', print: false,align: 'left',border:false},
                {colSpan: 1,dataIndex:'GFBZ',width:14,align: 'center',border:false},
                {width:16,colSpan: 3,text:'元/m²) × 交', print: false,align: 'left',border:false},
                {width:10,colSpan: 1,text:'存比例(', print: false,align: 'left',border:false},
                {dataIndex:'GFBZ',width:4,align: 'center',border:false},
                {colSpan: 1,width:8,text:'%)', print: false,align: 'left',border:{left:false,top:false}},
            ]
        },

        {
            items:[
                {
                    text: '交存金额',
                    align: 'center',
                    height: 8,
                    print: false
                },
                {colSpan: 11,dataIndex: 'JEDX',border:{right:false}},
                {text: '￥:', print: false, align: 'center',border:false},
                {colSpan: 4,dataIndex: 'JCJE',border:{left:false}}
            ]
        },
        {
            items: [
                {colSpan: 2,height: 4,  print: false,align: 'left', text: '收款单位 ( 盖章 ) : ',border:false},
                {colSpan: 4,dataIndex: 'SKDW',border:false},
                {colSpan: 3, print: false, align: 'center',text: '开票人:',border:false},
                {colSpan: 2,dataIndex: 'KPR',border:false},
                {colSpan: 2,text: '复核:', print: false,align: 'center',border:false},
                {colSpan: 4,dataIndex:'FHR',border:false},
            ]
        }

    ]
});